package com.jiyun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiyun.pojo.ShoppingOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShoppingOrderMapper extends BaseMapper<ShoppingOrder> {


    ShoppingOrder findShoppingById(String id);

    ShoppingOrder cancelorder(String id);

    void updatecancelorder(String id);

    void deleteorder(String id);

    void updatestatus(String id);

    List<ShoppingOrder> findShoppingOrders(@Param("s") ShoppingOrder shoppingOrder);

    void updatebz(String id, String bz);

    ShoppingOrder findshoppingorderById(String id);

    void deleteShopping(String id);
}
